package com.day20.ex02;
public class MyThreadDemo{
    public static void main(String[] args) {
        MyThread my1=new MyThread();
        MyThread my2=new MyThread();
        my1.setName("高铁");
        my2.setName("飞机");
        my1.start();
        my2.start();
        System.out.println(Thread.currentThread().getName());
    }
}
